oneTap\Module\Core\Rest_API\Base S

Total Complexity 31
Dependencies 3
Dependents 0
Total lines 218
Lines of code 101
Logical lines of code 50
Comment lines 69
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
parse_array_items_to_int()
S
59 6 15
check_admin_permission()
S
61 4 13
prepare_item_for_response()
S
65 4 8
response()
S
63 3 10
check_guest_permission()
S
64 3 10
convert_string_to_array()
S
67 2 8
get_formatted_time()
S
69 2 6
__construct()
S
79 1 3
validate_int()
S
80 1 3
validate_email()
S
80 1 3
sanitize_int()
S
80 1 3
error_nonce_missing()
S
69 1 7
error_admin_check_failed()
S
69 1 7
convert_string_to_int_array()
S
72 1 5